package com.hmall.api.item.trade;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * 订单服务Feign接口
 *
 * @Author mr.chen
 * @Date 2025/6/17 20:15
 */
@FeignClient(name = "trade-service",path = "/orders")
public interface TradeClient {
    /**
     * 标记订单已支付
     * @param orderId
     */
    @PutMapping("/{orderId}")
    public void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
